package com.zhan.rkforum;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import javax.annotation.PostConstruct;


/**
 *登录测试：账号：wujiazhan 密码：12345
 * @author wujiazhan
 * @date 2021/04/23
 */
@SpringBootApplication
public class RkforumApplication {

    @PostConstruct
    private void init(){
        //解决netty启动冲突
        // see Netty4Utils setAvailableProcessors()方法
        System.setProperty("es.set.netty.runtime.available.processors", "false");
    }

    public static void main(String[] args) {
        SpringApplication.run(RkforumApplication.class, args);
    }
}
